#define __GLOBAL_VARIABLES__
#include "include/global.h"
#include "include/kconst.h"
#include "include/proc.h"
#include "include/syscall.h"
#include "include/console.h"
#include "include/tty.h"

void task_hd();
void task_sys();

///用户进程表
TASK  user_proc_table[NR_PROC]={
    {TestA,0x4000,"TestA"},
    {TestB,0x4000,"TestB"},
    {TestC,0x4000,"TestC"},
    
};
//系统任务表
TASK task_table[NR_TASKS] = {
    {task_tty,0x4000,"tty"},
    {task_sys,0x4000,"SYSTASK"},
    {task_hd,0x4000,"HDDRIVER"}

};


TTY tty_table[NR_CONSOLES];
CONSOLE console_table[NR_CONSOLES];

system_call sys_call_table[NR_SYS_CALL] = {sys_sendrec, sys_printx};
//拆东墙补西墙

